package org.iabako.shared.entity.enumeration;

import org.iabako.client.tools.Messages;

/**
 * Created by jose on 17/10/14.
 */
public enum ExpenseType implements LabelEnum {

    oneShot("expense_type_one_shot"),
    several("expense_type_recurrent");

    String labelKey;

    ExpenseType(String labelKey) {
        this.labelKey = labelKey;
    }

    public String getLabel() {
        return Messages.getLabel(labelKey);
    }

    public String getLabelKey() {
        return labelKey;
    }
}
